<template>
  <conTainer title="题库管理">
    <template #hd>
      <el-row>
        <el-col :span="5">
          <el-button @click="showAddDialog = true">加钱啊！</el-button>
        </el-col></el-row
      >
    </template>
    <!-- 添加弹窗 -->
    <el-dialog
      v-model="showAddDialog"
      title="添加公司信息"
      width="600px"
      center
    >
      <el-form ref="addForm" label-width="100px">
        <el-form-item label="公司名称">
          <el-input />
        </el-form-item>
        <el-form-item label="使用VUE">
          <el-switch />
        </el-form-item>
        <el-form-item label="使用React">
          <el-switch />
        </el-form-item>
        <el-form-item label="其他技术要求">
          <el-input
            type="textarea"
            :rows="4"
            :autosize="{ minRows: 4, maxRows: 4 }"
          />
        </el-form-item>
        <el-form-item label="公司描述">
          <el-input
            type="textarea"
            :rows="4"
            :autosize="{ minRows: 4, maxRows: 4 }"
          />
        </el-form-item>
        <el-form-item label="公司所在区域">
          <!-- <el-cascader v-model="companyInfo.areaid" :options="regionDataPlus" /> -->
        </el-form-item>
      </el-form>
      <template #footer>
        <!-- <el-button @click="confirm">添加</el-button> -->
      </template>
    </el-dialog>
  </conTainer>
</template>

<script setup lang="ts">
import { ref } from 'vue'
const showAddDialog = ref<boolean>(false)
</script>

<script lang="ts">
export default {
  name: 'QaTi'
}
</script>
